home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Re Creating bitmaps from res.2 < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  665 b   |  [TEXT/ttxt]

  1. Subject:     Re: Creating bitmaps from resources.
  2. Sent:        3/11/96 8:27 AM
  3. Received:    3/11/96 8:41 AM
  4. From:        lamiraux@apple.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >1.I could not  manage to create an instance of the FW_PBitmap class from 
  9. >the PICT resource directy. Seems the constructor of this class from 
  10. >the FW_CResource file doesn't work on Mac.
  11.  
  12.  
  13. The resource has to be a bitmap resource not a picture resource. The only 
  14. way to create a bitmap from a pict resource is to create a FW_PPicture 
  15. first and then convert it to a FW_PBitmap.
  16.  
  17. Henri Lamiraux
  18. ODF Team
  19.